home *** CD-ROM | disk | FTP | other *** search
/ Max Special: Max Gallery / Max Special Gallery.iso / pc / star16.dir / 00021_general scripts.ls < prev    next >
Encoding:
Text File  |  1997-04-03  |  1.3 KB  |  59 lines

  1. on startMovie
  2.   global isComingFromASC
  3.   preLoad(7)
  4.   cursor(-1)
  5.   if isComingFromASC then
  6.     puppetSound(0)
  7.     updateStage()
  8.   else
  9.     doMusicGeneral()
  10.   end if
  11.   hideMaxMenuGall()
  12.   set the cursor of sprite 19 to -1
  13. end
  14.  
  15. on idle
  16.   testMaxRolloverGall()
  17.   testQuitRolloverGall()
  18. end
  19.  
  20. on doDeskTopInstall star, fromOs
  21.   case fromOs of
  22.     "WIN":
  23.       case star of
  24.         "KAY":
  25.           set nomeImm to "07-KAYRS.BMP 0"
  26.         "ZUL":
  27.           set nomeImm to "02-ZULES.BMP 0"
  28.         "ALB":
  29.           set nomeImm to "05-ALBAS.BMP 0"
  30.       end case
  31.       if IsWindows95() then
  32.         set nomeDir to "DESK32WI\"
  33.         open(the moviePath & nomeDir & "CHGWALLP.EXE" && nomeImm)
  34.         alert("Le modifiche avranno effetto al riavvio.")
  35.       else
  36.         set nomeAppl to "DESKTOP.EXE"
  37.         case star of
  38.           "KAY":
  39.             open("07-KAYRS.BMP", nomeAppl)
  40.           "ZUL":
  41.             open("02-ZULES.BMP", nomeAppl)
  42.           "ALB":
  43.             open("05-ALBAS.BMP", nomeAppl)
  44.         end case
  45.       end if
  46.     "MAC":
  47.       set nomeDir to "DESK16MA:"
  48.       case star of
  49.         "KAY":
  50.           set nomeAppl to "DESKKAY"
  51.         "ZUL":
  52.           set nomeAppl to "DESKZUL"
  53.         "ALB":
  54.           set nomeAppl to "DESKALB"
  55.       end case
  56.       open(the moviePath & nomeDir & nomeAppl)
  57.   end case
  58. end
  59.